.expense-type-modal {
  .add-budget-detail-icon {
    font-size: 16px;
    margin-right: 5px;
  }
  .rate-deviation-cell {
    position: relative;
    color: #ff1711;
    span {
      color: #999;
      font-size: 12px;
      margin-left: 5px;
    }
  }
  .ant-modal-body {
    padding: 0;
    .expense-type-chosen {
      padding: 10px 15px;
      margin-bottom: 10px;
      border-bottom: 1px solid #f2f2f2;
      .form-container {
        background: #f2f2f2;
        padding: 10px 20px;
        border-radius: 10px;
        .item-title {
          text-align: right;
          &.required:before {
            display: inline-block;
            margin-right: 4px;
            content: "*";
            font-family: SimSun;
            line-height: 1;
            font-size: 14px;
            color: $default-color-inverse;
          }
        }
      }
      .title {
        vertical-align: middle;
      }
      .icon-img {
        height: 25px;
        max-width: 25px;
        margin: 0 5px 0 10px;
      }
      .icon-name {
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        width: 240px;
        vertical-align: middle;
        white-space: nowrap;
        background-color: #fff;
        border-radius: 4px;
        border: 1px solid $form-border;
        line-height: 30px;
        height: 30px;
        padding: 0 10px;
        cursor: pointer;
      }
      .icon-name:hover {
        border-color: $default-color-hover;
      }
      .icon-disabled {
        color: $font-disabled;
        background: $form-bg-disabled;
        cursor: not-allowed;
        &:hover {
          border-color: $form-border;
        }
      }
      .currency-row {
        margin-top: 15px;
      }
      .rate-row {
        margin-top: 10px;
        .company-rate {
          line-height: 24px;
          span {
            color: $default-color;
            margin-right: 10px;
            &.error {
              color: #ff1711;
            }
            &.warning {
              color: #ffcd10;
            }
          }
        }
      }
    }
    .expense-type-container {
      max-height: calc(100vh - 300px);
      overflow: auto;
      padding: 0;
      .expense-apportion-name {
        span {
          display: block;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .required {
          display: inline;
          color: $default-color-inverse;
        }
      }
      .expense-apportion-chooser {
        .anticon {
          line-height: 1.5;
        }
      }
      .new-expense-apportion{
        height: 30px;
        line-height: 30px;
        text-align: center;
        border: 1px dashed #959595;
        color: #959595;
        font-size: 14px;
        cursor: pointer;
        margin: 0 auto;
        width: 45%;
        &:hover{
          border: 1px dashed $default-color;
          color: $default-color;
        }
      }
    }
    .expense-type-container-small {
      max-height: calc(100vh - 450px);
    }
  }
  .ant-table-small>.ant-table-content>.ant-table-body>table {
    padding: 0;
  }
}
